package com.j4.cms.dao;

import com.j4.cms.obj.Model;
import com.j4.cms.obj.Node;
import tk.mybatis.mapper.common.Mapper;

import java.util.List;

public interface ModelDao extends Mapper<Model> {

	List<Node> findTree();
	
	List<Model> getByParentId(Integer pid);
}
